<?php if (!defined('THINK_PATH')) exit();?>    <!doctype html>
<html>
<head>
<meta charset="UTF-8"/>
<title>运营平台</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="renderer" content="webkit">
<!--<meta http-equiv="X-UA-Compatible" content="IE=edge">-->
<link type="text/css" rel="stylesheet" href="<?php echo get_style_cdnurl();?>paimai/yunying/css/common.css?v=20170207" />
<link type="text/css" rel="stylesheet" href="<?php echo get_style_cdnurl();?>paimai/yunying/css/table.css?v=20170117" />
<link type="text/css" rel="stylesheet" href="<?php echo get_style_cdnurl();?>paimai/yunying/css/jquery-ui.css" />
<script src="<?php echo get_style_cdnurl();?>paimai/yunying/js/jquery-1.11.1.js" type="text/javascript"></script>
<script src="<?php echo get_style_cdnurl();?>paimai/yunying/js/jquery-ui.min.js" type="text/javascript"></script>
 <script src="<?php echo get_style_cdnurl();?>paimai/yunying/js/yunIndex.js" type="text/javascript"></script>
<script src="<?php echo get_style_cdnurl();?>paimai/yunying/js/jquery-ym-datePlugin-0.1.js" type="text/javascript"></script>
<script src="<?php echo get_style_cdnurl();?>paimai/yunying/js/global.js" type="text/javascript"></script>
<script src="<?php echo get_style_cdnurl();?>paimai/cheshan/js/common.js" type="text/javascript"></script>
<script type="text/javascript" src="<?php echo get_style_cdnurl();?>paimai/yunying/js/jquery.placeholder.min.js"></script>
<script type="text/javascript">
 $(function(){
     $("input").placeholder();
     if (navigator.userAgent.indexOf("Safari") > -1) {
       $("input").css("lineHeight","normal !important");
     };
});
</script>

<!--<script src="<?php echo get_style_cdnurl();?>paimai/yunying/js/city.js"></script>-->
<style>
    #fail_type {
        -moz-appearance: none;
        background: rgba(0, 0, 0, 0) url("http://img1.isou365.cn/paimai/yunying/images/sanjiao.jpg") no-repeat scroll 130px 5px;
        border: 1px solid #d7d7d7;color: #666;float: left; height: 25px;line-height: 25px;margin-left: 24px;margin-right: 10px;text-align: center;width: 150px;}
    #searchFrom .sheng-text{height:26px;width:100px;background:url("http://img3.isou365.cn/paimai/yunying/images/sanjiao.jpg") no-repeat scroll 80px 7px;border:solid 1px #c5c5c5;margin-right:7px;}
    #searchFrom .area{margin:0;}
    #searchFrom #area{width:140px; background-position:120px 7px}
</style>
</head>
<body>
<div class="header">
<div class="headerCo">
<span>你好,<?php echo ($user_info["real_name"]); ?><a href="<?php echo (WEB_URL); ?>Emp/logout">退出</a></span>
<h1><img src="<?php echo get_style_cdnurl();?>paimai/yunying/images/yun_logo.jpg"></h1>
</div>
</div>
<div class="mian">
    <div class="mianL">
    <dl>
        <dd>
            <a id="menu_sy" href="/Index/index" class="shouye">首页</a>
        </dd>
        <?php foreach ($tree_menu as $key => $value): ?>
          <dd>
            <span id="menu_<?php echo ($value['first_char']); ?>" ><img src="<?php echo get_style_cdnurl();?>paimai/yunying/images/yun_jia.jpg"><?php echo ($value['name']); ?></span>
            <ul style="display: none;">
                <?php if (!empty($value['children'])): ?>
                    <?php foreach ($value['children'] as $k => $v): ?>
                        <li><a id='menu_<?php echo ($v["first_char"]); ?>' href="<?php echo ($v['url']); ?>"><?php echo ($v['name']); ?></a></li>
                    <?php endforeach ?>
                <?php endif ?>
            </ul>
        <?php endforeach ?>
    </dl>
</div>

<?php $menu = 'shgl.4s店回车'; ?>
<?php $menu=json_encode(explode('.', $menu)); ?>
<script>
    $(function () {
        var cur_menu = '<?php echo ($menu); ?>', cur_menu = eval('[' + cur_menu + ']'), cur_menu = cur_menu[0];
        if (cur_menu == "sy") {
            $("#menu_sy").removeClass('shouye').addClass('current');
        }
        $('#menu_' + cur_menu[0]).click();
        $('#menu_' + cur_menu[0]).find("img").attr("src", "http://img1.isou365.cn/paimai/yunying/images/yun_jie.jpg");
        $(".mianL").css("height", $(document).height() - 95);
        $('#menu_' + cur_menu[1]).addClass('current');
    });
</script>
    <div class="mianR">
        <div class="yuyue">
            <ul>
                <li onclick="window.location.href = '/CarReturn/index'" class="yuCurrent">待回车</li>
                <li onclick="window.location.href = '/CarReturn/returning'">回车中</li>
                <li onclick="window.location.href = '/CarReturn/arrival'">已到店</li>
            </ul>
        </div>
        <div class="yuList" >
            <div class="yuSuo clearfix">
              <form id="searchFrom">
                  <input id="status" name="status" type="hidden" value="0">
                    <select name="location_area" id="location_area" class="tracking_list1">
                        <?php if(count($bc_city) > 1): ?><option value="">请选择所在地</option><?php endif; ?>
                        <?php if(is_array($bc_city)): $i = 0; $__LIST__ = $bc_city;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$city): $mod = ($i % 2 );++$i;?><option value="<?php echo ($key); ?>"><?php echo ($city); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
                    </select>
                    <select name="pay_status" id="pay_status" class="tracking_list1">
                      <option value="0">请选择付款状态</option>
                      <option value="1">待付首款</option>
                      <option value="2">已付首款</option>
                      <!--<option value="3">待付尾款</option>-->
                      <!--<?php if(is_array($order_pay_status)): $i = 0; $__LIST__ = $order_pay_status;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ops): $mod = ($i % 2 );++$i;?>-->
                          <!--<option value="<?php echo ($key); ?>"><?php echo ($ops); ?></option>-->
                      <!--<?php endforeach; endif; else: echo "" ;endif; ?>-->
                    </select>
                    <input type="text" id="order_num" name="order_num" placeholder="拍卖单号" value="<?php echo ($params["order_no"]); ?>" class="suoDian" />
                    <input ty pe="text" id="checker" name="checker" placeholder="评估师" value="<?php echo ($params["checker"]); ?>" class="suoDian" />
              </form>
                <input type="button" onclick="search();" id="search" value="搜索" class="suoSou">
            </div>
            <div class="listBox" id="listBox"></div>
        </div>
        <div class="clear"></div>
    </div>
</div>
</body>
<script type="text/javascript">
    get_list();
    function get_list() {
        var data = $("#searchFrom").serialize();
        $.get("/CarReturn/returning_list", data, function (data) {
            $("#listBox").html(data);
        }, "html");
    }

    function get_page(p) {
        var data = $("#searchFrom").serialize() + "&" + encodeURI("p=" + p);
        $.get("/CarReturn/returning_list", data, function (data) {
            $("#listBox").html(data);
        }, "html");
    }

    function search() {
        $.get("/CarReturn/returning_list", $("#searchFrom").serialize(), function (data) {
            $("#listBox").html(data);
        }, "html");
    }

</script>
</html>